Give\Framework\PaymentGateways\PaymentGateway A

Total Complexity 55
Dependencies 14
Dependents 13
Total lines 446
Lines of code 184
Logical lines of code 82
Comment lines 152
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
supportsFormVersions()
S
62 5 12
getTransactionUrl()
S
60 4 13
isFunctionImplementedInGatewayClass()
S
57 2 18
callRouteMethod()
S
70 3 6
supportsMethodRoute()
S
71 3 6
__construct()
S
69 2 7
canUpdateSubscriptionPaymentMethod()
S
72 2 6
gatewayDashboardSubscriptionUrl()
S
71 2 6
updateSubscriptionPaymentMethod()
S
68 2 7
updateSubscriptionAmount()
S
68 2 7
synchronizeSubscription()
S
70 2 6
hasGatewayDashboardSubscriptionUrl()
S
72 2 6
canUpdateSubscriptionAmount()
S
72 2 6
canSyncSubscriptionWithPaymentGateway()
S
72 2 6
canPauseSubscription()
S
71 2 6
resumeSubscription()
S
69 2 7
pauseSubscription()
S
68 2 7
supportsSubscriptions()
S
79 2 3
supportsRefund()
S
71 2 6
generateSecureGatewayRouteUrl()
S
62 1 12
webhook()
S
76 1 4
cancelSubscription()
S
81 1 3
createSubscription()
S
79 1 3
generateGatewayRouteUrl()
S
78 1 3
formSettings()
S
82 1 3
enqueueScript()
S
91 1 2
canListeningWebhookNotifications()
S
80 1 3
toArray()
S
69 1 7
jsonSerialize()
S
81 1 3